/**
 * 阅卷、作业、后台管理 这3个系统的页面列表和各个页面的权限列表
 * 页面最高层级: 暂且只有2级页面
 */
const allPageList =
{
  // 阅卷
  1: [
    { name: "首页", id: '1', checked: false, children: [], rights: [] },
    {
      name: "教学监管", id: '2', checked: false, children: [], rights: [
        { name: '筛选', id: '2-1', checked: false }
      ]
    },
    {
      name: "考试报告", id: '3', checked: false, rights: [], children: [
        {
          name: "校级报告", checked: false, id: '3,1',
          rights: [
            { name: '筛选', id: '3-1-1', checked: false },
            { name: '查看报告', id: '3-1-2', checked: false },
            { name: '导出报表', id: '3-1-3', checked: false },
          ]
        },
        {
          name: "班级报告", id: '3,2', checked: false, rights: [
            { name: '筛选', id: '3-2-1', checked: false },
            { name: '查看报告', id: '3-2-2', checked: false },
            { name: '导出报表', id: '3-2-3', checked: false },
          ]
        },
        {
          name: "联考报告", id: '3,3', checked: false, rights: []
        },
      ]
    },
    {
      name: "考试阅卷", id: '4', checked: false, rights: [], children: [
        {
          name: "考试管理", id: '4,1', checked: false, rights: [
            { name: '筛选', id: '4-1-1', checked: false },
            { name: '创建考试', id: '4-1-2', checked: false },
            { name: '删除考试', id: '4-1-3', checked: false },
            { name: '班级管理', id: '4-1-4', checked: false },
            { name: '修改答案', id: '4-1-5', checked: false },
            { name: '阅卷分工', id: '4-1-6', checked: false },
            { name: '状态修改', id: '4-1-7', checked: false },
            { name: '结束考试', id: '4-1-8', checked: false },
            { name: '处理异常作业', id: '4-1-9', checked: false },
          ]
        },
        {
          name: "阅卷任务", id: '4,2', checked: false, rights: []
        },
        {
          name: "答题卡管理", id: '4,3', checked: false, rights: [
            { name: '新建答题卡', id: '4-3-1', checked: false },
            { name: '删除答题卡', id: '4-3-2', checked: false },
            { name: '编辑答题卡', id: '4-3-3', checked: false },
            { name: '下载答题卡', id: '4-3-4', checked: false },
            { name: '批量删除', id: '4-3-5', checked: false },
          ]
        },
        { name: "评卷监管", id: '4,4', checked: false, rights: [] },
      ]
    },
    {
      name: "学情分析", id: '5', checked: false, rights: [],
      children: [
        {
          name: '学科学情', id: '5,1', checked: false, rights: [
            { name: '筛选', id: '5-1-1', checked: false },
            { name: '错题导出', id: '5-1-2', checked: false },
          ]
        },
        {
          name: '学生学情', id: '5,2', checked: false, rights: [
            { name: '筛选', id: '5-2-1', checked: false },
            { name: '错题导出', id: '5-2-2', checked: false },
            { name: '导出报表', id: '5-2-3z', checked: false },
          ]
        },
        {
          name: '学业分析', id: '5,3', checked: false, rights: [
            { name: '筛选', id: '5-3-1', checked: false },
          ]
        },
      ]
    },
    { name: "管理中心", id: '6', checked: false, children: [], rights: [] },
  ],
  // 作业
  2: [],
  // 管理后台
  3: [
    // {
    //   name: "管理中心", id: '1', checked: false, children: [], rights: [
    //     { name: "发布公告", id: '1-1', checked: false },
    //     { name: "删除公告", id: '1-2', checked: false },
    //   ],
    // },
    {
      name: "学校管理", id: '2', checked: false, rights: [
        { name: "开通会员", id: '2-1', checked: false },
        { name: "添加学校", id: '2-2', checked: false },
        { name: "删除学校", id: '2-3', checked: false },
        { name: "编辑学校信息", id: '2-4', checked: false },
        { name: "导出数据", id: '2-5', checked: false },
      ],
      children: [
        {
          name: '查看学校', id: '2,1', checked: false, rights: [
            { name: '开通会员', id: '2-1-1', checked: false },
            { name: '导出学生ID', id: '2-1-2', checked: false },
            { name: '导出数据', id: '2-1-3', checked: false },
          ]
        },
        {
          name: '学生管理', id: '2,2', checked: false, rights: [
            { name: '添加学生', id: '2-2-1', checked: false },
            { name: '导出学生账号', id: '2-2-2', checked: false },
            { name: '删除学生', id: '2-2-3', checked: false },
            { name: '编辑学生信息', id: '2-2-4', checked: false },
          ]
        },
        {
          name: '老师管理', id: '2,3', checked: false, rights: [
            { name: '添加老师', id: '2-3-1', checked: false },
            { name: '删除老师', id: '2-3-2', checked: false },
            { name: '编辑老师信息', id: '2-3-3', checked: false },
          ]
        },
        {
          name: '班级管理', id: '2,4', checked: false, rights: [
            { name: '添加班级', id: '2-4-1', checked: false },
            { name: '导出师生', id: '2-4-2', checked: false },
            { name: '激活账号', id: '2-4-3', checked: false },
            { name: '删除老师', id: '2-4-4', checked: false },
            { name: '编辑老师信息', id: '2-4-5', checked: false },
          ]
        },
        // {
        //   name: '学期管理', id: '2,5', checked: false, rights: [
        //     { name: '升学设置', id: '2-5-1', checked: false },
        //     { name: '编辑学期', id: '2-5-2', checked: false },
        //     { name: '编辑学制', id: '2-5-3', checked: false },
        //     { name: '编辑开设学科', id: '2-5-4', checked: false },
        //     { name: '编辑教材版本', id: '2-5-5', checked: false },
        //   ]
        // },
        // {
        //   name: '教辅管理', id: '2,6', checked: false, rights: [
        //     { name: '查看', id: '2-6-1', checked: false },
        //     { name: '编辑题目答案', id: '2-6-2', checked: false },
        //   ]
        // }
      ],
    },
    // {
    //   name: "会员管理", id: '3', checked: false, children: [], rights: [
    //     { name: "开通会员", id: '3-1', checked: false },
    //     { name: "导出数据", id: '3-2', checked: false },
    //     { name: "修改会员信息", id: '3-3', checked: false },
    //     { name: "复制学生ID", id: '3-4', checked: false },
    //     { name: "查看充值记录", id: '3-5', checked: false },
    //     { name: "删除学生", id: '3-6', checked: false },
    //   ],
    // },
    {
      name: '权限管理', id: '5', checked: false, rights: [], children: [
        {
          name: '成员管理', id: '5,1', checked: false, rights: [
            { name: '添加成员', id: '5-1-1', checked: false },
            { name: '编辑成员信息', id: '5-1-2', checked: false },
            { name: '删除成员', id: '5-1-3', checked: false },
            { name: '修改成员状态', id: '5-1-4', checked: false },
          ]
        },
        {
          name: '角色管理', id: '5,2', checked: false, rights: [
            { name: '添加角色', id: '5-2-1', checked: false },
            { name: '编辑角色信息', id: '5-2-2', checked: false },
            { name: '删除角色', id: '5-2-3', checked: false },
            { name: '修改角色状态', id: '5-2-4', checked: false },
          ]
        },
      ]
    },
    // { name: "日志管理", id: '4', checked: false, children: [], rights: [], },
  ]
}

export default allPageList
